USE [master]
GO

/****** Object:  Database [SysCad]    Script Date: 04/14/2012 16:37:02 ******/
IF  EXISTS (SELECT name FROM sys.databases WHERE name = N'SysCad')
DROP DATABASE [SysCad]
GO

USE [master]
GO

/****** Object:  Database [SysCad]    Script Date: 04/14/2012 16:37:02 ******/
CREATE DATABASE [SysCad] ON  PRIMARY 
( NAME = N'Database', FILENAME = N'C:\SysCad\Persistence\Database.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'Database_log', FILENAME = N'C:\SysCad\Persistence\Database_log.ldf' , SIZE = 576KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO

ALTER DATABASE [SysCad] SET COMPATIBILITY_LEVEL = 100
GO

IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [SysCad].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO

ALTER DATABASE [SysCad] SET ANSI_NULL_DEFAULT OFF 
GO

ALTER DATABASE [SysCad] SET ANSI_NULLS OFF 
GO

ALTER DATABASE [SysCad] SET ANSI_PADDING OFF 
GO

ALTER DATABASE [SysCad] SET ANSI_WARNINGS OFF 
GO

ALTER DATABASE [SysCad] SET ARITHABORT OFF 
GO

ALTER DATABASE [SysCad] SET AUTO_CLOSE ON 
GO

ALTER DATABASE [SysCad] SET AUTO_CREATE_STATISTICS ON 
GO

ALTER DATABASE [SysCad] SET AUTO_SHRINK ON 
GO

ALTER DATABASE [SysCad] SET AUTO_UPDATE_STATISTICS ON 
GO

ALTER DATABASE [SysCad] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO

ALTER DATABASE [SysCad] SET CURSOR_DEFAULT  GLOBAL 
GO

ALTER DATABASE [SysCad] SET CONCAT_NULL_YIELDS_NULL OFF 
GO

ALTER DATABASE [SysCad] SET NUMERIC_ROUNDABORT OFF 
GO

ALTER DATABASE [SysCad] SET QUOTED_IDENTIFIER OFF 
GO

ALTER DATABASE [SysCad] SET RECURSIVE_TRIGGERS OFF 
GO

ALTER DATABASE [SysCad] SET  DISABLE_BROKER 
GO

ALTER DATABASE [SysCad] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO

ALTER DATABASE [SysCad] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO

ALTER DATABASE [SysCad] SET TRUSTWORTHY OFF 
GO

ALTER DATABASE [SysCad] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO

ALTER DATABASE [SysCad] SET PARAMETERIZATION SIMPLE 
GO

ALTER DATABASE [SysCad] SET READ_COMMITTED_SNAPSHOT OFF 
GO

ALTER DATABASE [SysCad] SET HONOR_BROKER_PRIORITY OFF 
GO

ALTER DATABASE [SysCad] SET  READ_WRITE 
GO

ALTER DATABASE [SysCad] SET RECOVERY SIMPLE 
GO

ALTER DATABASE [SysCad] SET  MULTI_USER 
GO

ALTER DATABASE [SysCad] SET PAGE_VERIFY CHECKSUM  
GO

ALTER DATABASE [SysCad] SET DB_CHAINING OFF 
GO

